package com.hkts.naturalgas.curvesettings.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hkts.naturalgas.curvesettings.entity.CurveSettings;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.curvesettings.vo.CurveDTo;
import com.hkts.naturalgas.curvesettings.vo.CurveVo;
import com.hkts.naturalgas.dictionaries.entity.HktsEnvironmentProtectionDictionaries;
import com.hkts.naturalgas.utils.Result;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-10-11
 */
public interface ICurveSettingsService extends IService<CurveSettings> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param curveSettings
     * @return
     */
    IPage<CurveSettings> selectPage(Page<CurveSettings> page, CurveSettings curveSettings);

    List<CurveSettings> selectList(CurveSettings curveSettings);

    List<CurveSettings> selectListforShelder(CurveSettings curveSettings);

    Map<String,Object> getCurveData(String curveId);

    Result<Object> updateCurve(CurveVo curveVos);

    Map<String, List<CurveSettings>> selectMapforShelder(List<HktsEnvironmentProtectionDictionaries> hktsEnvironmentProtectionDictionaries1);
}